package com.bw.liuyushan.zhuangao4_weektest2.Entity;

import java.util.List;

/**
 * ZhuanGao4_WeekTest2
 * file name is : GiftBean
 * created by Ender on 2021/8/24 18:29.
 * author : 刘雨杉
 * Describe(作用):
 */
public class GiftBean {
    /**
     * data : [{"id":1,"name":"跑车","price":198,"previewImg":"http://bpic.588ku.com/back_pic/00/08/92/04562ba7033bf20.jpg","gifImg":"http://www.fenghongzhang.com:7777/paoche.gif"},{"id":2,"name":"海岛","price":99,"previewImg":"https://image.biaobaiju.com/uploads/20190610/18/1560161429-GVbFNqrzLl.jpg","gifImg":"http://www.fenghongzhang.com:7777/haidao.gif"},{"id":3,"name":"欢呼","price":88,"previewImg":"https://img.zcool.cn/community/01a31c5b150e0ea801202e607c0f64.jpg","gifImg":"http://www.fenghongzhang.com:7777/6666.gif"},{"id":4,"name":"烟花","price":100,"previewImg":"http://www.dabaoku.com/sucaidatu/jieri/yanhuo/005e24.jpg","gifImg":"http://www.fenghongzhang.com:7777/yanhua.gif"},{"id":5,"name":"牛气","price":200,"previewImg":"https://pic.ntimg.cn/20100115/3594017_153739046168_2.jpg","gifImg":"http://www.fenghongzhang.com:7777/niu.gif"},{"id":6,"name":"红包","price":66,"previewImg":"https://himg2.huanqiucdn.cn/attachment2010/2017/0128/20170128043327895.jpeg","gifImg":"http://www.fenghongzhang.com:7777/hongbao.gif"}]
     * code : 0
     * msg : 操作成功！
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * name : 跑车
         * price : 198.0
         * previewImg : http://bpic.588ku.com/back_pic/00/08/92/04562ba7033bf20.jpg
         * gifImg : http://www.fenghongzhang.com:7777/paoche.gif
         */

        private int id;
        private String name;
        private double price;
        private String previewImg;
        private String gifImg;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public String getPreviewImg() {
            return previewImg;
        }

        public void setPreviewImg(String previewImg) {
            this.previewImg = previewImg;
        }

        public String getGifImg() {
            return gifImg;
        }

        public void setGifImg(String gifImg) {
            this.gifImg = gifImg;
        }
    }
}
